<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>功能管理</title>
<link rel="shortcut icon" href="/favicon.ico">
<link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="../plugins/jsTree/style.min.css" rel="stylesheet">
<link href="../css/animate.css" rel="stylesheet">
<link href="../css/style.css?v=4.1.0" rel="stylesheet">
<link href="../plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link rel="stylesheet" href="../plugins/layui/css/layui.css"  media="all">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
<div class="row">
<div class="col-sm-6">
  <div class="ibox float-e-margins">
    <div class="ibox-title">
      <h5>功能管理</h5>
      <div class="ibox-tools"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="close-link"> <i class="fa fa-times"></i> </a> </div>
    </div>
    <div class="ibox-content">
      <div id="using_json"> </div>
    </div>
  </div>
</div>
<div class="col-sm-6">
<div class="ibox-title">
      <h5 id="edit-title">新增顶级功能</h5>
      <div class="ibox-tools"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="close-link"> <i class="fa fa-times"></i> </a> </div>
    </div>
<div class="ibox-content">
<fieldset class="layui-elem-field layui-field-title">
<form class="layui-form layui-form-pane" action="">
  <input id="functionId" name="functionId" type="hidden" value="0">
  <div class="layui-form-item">
    <label class="layui-form-label">功能名称</label>
    <div class="layui-input-block">
      <input type="text" id="functionName" name="functionName" autocomplete="off" placeholder="请输入功能名称" class="layui-input" lay-verify="required">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">功能序号</label>
    <div class="layui-input-block">
      <input type="text" id="functionOrder" name="functionOrder" lay-verify="required|number" placeholder="请输入功能序号" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">栏目ID</label>
    <div class="layui-input-inline">
      <input type="text" id="functionMenuId" name="functionMenuId" lay-verify="number" placeholder="请输入栏目ID" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux">栏目ID会根据栏目名称自动关联，如无法查找到同名栏目，请手动关联</div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">功能图标</label>
    <div class="layui-input-block">
      <input type="text" id="functionIco" name="functionIco" placeholder="请输入功能图标" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">父节点</label>
    <div class="layui-input-inline">
      <input id="functionParentid" name="functionParentid" type="hidden" value="0">

      <input type="text" id="functionParentname" name="functionParentname" lay-verify="required" placeholder="请输入父节点" autocomplete="off" class="layui-input" value="顶级功能">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">功能路径</label>
    <div class="layui-input-inline">
      <input type="text" id="functionUrl" name="functionUrl" placeholder="请输入功能路径" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">语言</label>
    <div class="layui-input-block">
      <input type="radio" name="language" title="中文" value="CN" checked>
      <input type="radio" name="language" title="日文" value="JP">
      <input type="radio" name="language" title="英文" value="EN">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">接口功能</label>
    <div class="layui-input-block">
      <input type="radio" name="functionIsInterface" title="是" value="1">
      <input type="radio" name="functionIsInterface" title="否" value="0" checked>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
</fieldset>
</div>
</div>
</div>
</div>
<!-- 全局js --> 
<script src="../plugins/layui/layui.js" charset="utf-8"></script>
<script src="../script/jquery.min.js?v=2.1.4"></script>
<script src="../script/bootstrap.min.js?v=3.3.6"></script>

<!-- 自定义js --> 
<script src="../script/content.js?v=1.0.0"></script>
<script src="../script/W.js?v=3.3.6"></script>

<!-- jsTree plugin javascript --> 
<script src="../plugins/jsTree/jstree.min.js"></script>
<script src="../plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="../plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<style>
        .jstree-open > .jstree-anchor > .fa-folder:before {
            content: "\f07c";
        }

        .jstree-default .jstree-icon.none {
            width: 0;
        }
    </style>
<script src="../script/function.js"></script>
</body>
</html>
